import server from '@/utils/server'

const Login = async function (obj) {
    let data = await server.post('http://ceshi5.dishait.cn/admin/login', obj)
    return Promise.resolve(data)
}

const getList = async function () {
    let data = await server.get('/list.json')
    return Promise.resolve(data)
}

export {
    Login,
    getList
}